﻿<!--#include virtual="/conn.inc"-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>文件2.0上传(大附件)</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
	line-height:22px;
}
-->
</style>
</head>
<%
Dim classid,aid,Page,sid,rs2,sql2,i
    		classid = Request("classid")
    		If classid = "" Then classid = 0
   		If Not IsNumeric(classid) Then classid = 0
    		classid = CLng(classid)
    		If classid < 0 Then classid = 0
    		aid = Request("aid")     
    		If aid = "" Then aid = 1
   		If Not IsNumeric(aid) Then aid = 1
    		aid = CLng(aid)
    		Page = Request("page")     
    		If Page = "" Then Page = 1
   		If Not IsNumeric(Page) Then Page = 1
    		Page = CLng(Page)
    		If Page < 1 Then Page = 1
                sid=trim(Request("sid"))
%>
<body>
<%
Response.Write "<form name='form1' method='post' action='addfilelist2.asp?sid=" & sid & "&amp;page=" & page & "&amp;aid=" & aid & "&amp;action=login&amp;classid=" & classid & "' enctype='multipart/form-data' onsubmit='return check();' accept-charset='gb2312'>"
%>
添加软件连接地址.<br/>----------<br/>
   	支持平台:<br/>
	<%
	  set rs2=server.CreateObject("adodb.recordset")
	  sql2="select id,name from qingtian_phonecha"
	  rs2.open sql2,conn,1,1
	  if not (rs2.bof and rs2.eof) then
	  For i=1 to rs2.RecordCount
		if i=1 then
		%>
		<select name="bid" multiple="true">
                <option value="0">支持所有平台</option>
		<%
		end if
		%>
		<option value="<%=rs2("id")%>"><%=rs2("name")%></option>
		<%
	  Rs2.MoveNext
	  Next
	else
	%>
		<select name="bid" value="0">
                <option value="0">支持所有平台</option>
	<%

	  end if
	  Rs2.close
	  set rs2=nothing
	%>
	</select><br/>
	<%
Response.Write "<input type='file' name='file1' size='15' class='an'><br/>"
Response.Write "<input type='submit' name='Submit' value='添加上传' class='an'>"
Response.Write " <input type='reset'' name='button' class='as' value='重 置'>"
Response.Write "</form>"
Response.Write("<br/>----------<br/>")
%>
<a href='addfilelist.asp?aid=<%=aid%>&amp;classid=<%=classid%>&amp;page=<%=page%>&amp;sid=<%=sid%>'>直接地址上传</a><br/>
<a href='filelist.asp?classid=<%=classid%>&amp;page=<%=page%>&amp;sid=<%=sid%>'>返回下载管理</a><br/>
<a href='index.asp?sid=<%=sid%>'>后台管理首页</a><br/>
</body>
</html>